<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>加载中...</title>
    <script src="http://cdn.bootcss.com/jquery/3.1.0/jquery.min.js"></script>
</head>

<script>
    //直接跳转
     //先通过ajax获取shareUrl
    function getUrlParam(key) {
        var aQuery = window.location.href.split('?');  //取得Get参数
        var aGET = new Array();
        if (aQuery.length > 1) {
            var aBuf = aQuery[1].split("&");
            for (var i = 0, iLoop = aBuf.length; i < iLoop; i++) {
                var aTmp = aBuf[i].split("=");  //分离key与Value
                aGET[aTmp[0]] = aTmp[1];
            }
        }
        return aGET[key];
    };
    var id = getUrlParam("id");
    if(typeof(id)  == "undefined"){
        id = 1;
    }
//    http://coqq001.duapp.com/
    var jumpUrl =  "http://co-jump.oss-cn-hangzhou.aliyuncs.com/jump"+new Date().getTime()%100+".html"
    console.log("jumpUrl= "+jumpUrl);
    $.ajax({
        type: "GET",
        url: jumpUrl,
        success: function(msg){
            //按照分钟来计算,每分钟出现的url是一样的.
//            var url = msg[(new Date().getTime()%msg.length)];
            var url = msg+"index"+id+".html";
//            console.log("get jumpUrl = "+url);
//            alert(msg);
            window.location.replace(url);
        }
    });
</script>
<body>
            <h1>正在加载中....</h1>
</body>
</html>